relative maxima and minima examples